package com.easydl.project.utils;

public class EasydlResultVO {
	private Boolean result;
	private Long timestamp;
	private Object data;
	
	public EasydlResultVO(Object data) {  
        this.result = true;  
        this.timestamp = Long.valueOf(System.currentTimeMillis());  
        this.data = data;  
    } 
	
	public EasydlResultVO(Boolean result,Object data) {
		super();
		this.result = result;
		this.timestamp = Long.valueOf(System.currentTimeMillis()); 
		this.data = data;
	}
	
	public EasydlResultVO(Boolean result,Long timestamp,Object data) {
		super();
		this.result = result;
		this.timestamp = timestamp; 
		this.data = data;
	}
	
	public Boolean getResult() {
		return result;
	}

	public void setResult(Boolean result) {
		this.result = result;
	}
	
	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
}
